package com.frxuexi.mdm2203.view


import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.size
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.colorResource
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
import com.frxuexi.mdm2203.R

@Composable
fun WelcomePage() {
    Column(horizontalAlignment = Alignment.CenterHorizontally,modifier = Modifier.background(
        colorResource(id = R.color.lightgray))) {
        Spacer(modifier = Modifier.height(180.dp))
        Image(painter = painterResource(id = R.drawable.img), contentDescription = "",
            modifier = Modifier.size(80.dp))
        Spacer(modifier = Modifier.height(20.dp))
        Text(text = "MDM")
    }
}